package shayu.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import shayu.product.entity.SkuImagesEntity;
import shayu.product.entity.SkuSaleAttrValueEntity;
import shayu.product.vo.SkuItemSaleAttrVo;

import java.util.List;
import java.util.Map;

/**
 * sku销售属性&值
 *
 * @author xiaoshayu
 * @email xiaoshayu@qq.copm
 * @date 2023-05-03 22:48:57
 */
public interface SkuSaleAttrValueService extends IService<SkuSaleAttrValueEntity> {

    PageUtils queryPage(Map<String, Object> params);


    void saveBatch(List<SkuImagesEntity> imagesEntities);

    List<SkuItemSaleAttrVo> getSaleAttrsBySpuId(Long spuId);


    List<String> getSkuSaleAttrValuesAsStringList(Long skuId);
}

